package cn.iocoder.yudao.module.wecom.controller.admin.contactstat.vo;

import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.time.LocalDateTime;

@Schema(description = "管理后台 - 联系客户统计 Response VO")
@Data
@ExcelIgnoreUnannotated
public class WeContactStatReqVO {

    @Schema(description = "编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "13769")
    @ExcelProperty("编号")
    private Long id;

    @Schema(description = "企微用户ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "18028")
    @ExcelProperty("企微用户ID")
    private String weUserId;

    @Schema(description = "系统用户ID", example = "17757")
    @ExcelProperty("系统用户ID")
    private Long userId;

    @Schema(description = "统计日期", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("统计日期")
    private LocalDateTime statTime;

    @Schema(description = "发起申请数", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("发起申请数")
    private Integer newApplyCnt;

    @Schema(description = "新增客户数", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("新增客户数")
    private Integer newContactCnt;

    @Schema(description = "聊天总数", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("聊天总数")
    private Integer chatCnt;

    @Schema(description = "发送消息数", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("发送消息数")
    private Integer messageCnt;

    @Schema(description = "已回复聊天占比", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("已回复聊天占比")
    private Double replyPercentage;

    @Schema(description = "平均首次回复时长", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("平均首次回复时长")
    private Double avgReplyTime;

    @Schema(description = "删除/拉黑成员的客户数", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("删除/拉黑成员的客户数")
    private Integer negativeFeedbackCnt;

    @Schema(description = "创建时间")
    @ExcelProperty("创建时间")
    private LocalDateTime createTime;

}